package com.ict.txmsv2.mapper;

import org.apache.ibatis.annotations.Param;
import com.ict.txmsv2.model.FaceUserInfo;
import com.ict.txmsv2.model.UserFaceInfo;

import java.util.List;

public interface UserFaceInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserFaceInfo record);

    int insertSelective(UserFaceInfo record);

    UserFaceInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserFaceInfo record);

    int updateByPrimaryKeyWithBLOBs(UserFaceInfo record);

    int updateByPrimaryKey(UserFaceInfo record);

    List<FaceUserInfo> getUserFaceInfoByGroupId(Integer groupId);

    void insertUserFaceInfo(UserFaceInfo userFaceInfo);

    int getMaxId();

    int deleteMany(@Param("ids") Integer[] ids);

    List<FaceUserInfo> getUserFaceInfoByRoomId(String roomId, String date);

    List<UserFaceInfo> getUfiByGroupId(Integer groupId);

    UserFaceInfo getUserFaceInfo(Integer faceId);

    UserFaceInfo getUserFaceInfoByUserId(Integer userId);
}